namespace FaultDiagnosisSystem.Models.DataModels
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("tblVectorEstimate")]
    public partial class tblVectorEstimate
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(50)]
        public string wind_farm_id { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(50)]
        public string turbine_id { get; set; }

        [Key]
        [Column(Order = 2)]
        [StringLength(50)]
        public string component_id { get; set; }

        [Key]
        [Column(Order = 3)]
        [StringLength(50)]
        public string load_vector_type { get; set; }

        [Key]
        [Column(Order = 4)]
        public DateTime time_start { get; set; }

        public DateTime time_end { get; set; }

        public double damage_week { get; set; }

        public double damage_week_sum { get; set; }

        public decimal life_cycle_estimate { get; set; }

        public decimal life_left_estimate { get; set; }
    }
}
